package Video
{
	import SplineComponent.SplineComponentController;
	
	import util.Observable;
	
	public class VideoController extends SplineComponentController
	{
		public var view:Object;
		public var model:Object;
		private var lessonView_object:Object=new Object;
		
		public function VideoController(model:Observable)
		{
			super(model);
			this.model=this.getModel();
		}
		
		public function playVideo():void
		{
			model.playVideo();
		}
		public function stopVideo():void
		{
			model.stopVideo();
		}
		public function openFileList():void
		{
			model.openFileList();
		}
		
		public function removeVideoFromList():void
		{
			model.removeVideoFromList();
		}
		public function onPlayListClicked():void
		{
			model.onPlayListClicked();
		}
		public function onPlayListDoubleClicked():void
		{
			model.onPlayListDoubleClicked();
		}
		
		public function playNextVideo():void
		{
			model.playNextVideo();
		}
		
		public function playPreviousVideo():void
		{
			model.playPreviousVideo();
		}
		
		
	}
}